/*******************************************************************/
/* @ All Rights Reserved Copyright (C) 2014 broada,Co.,Ltd.        */
/*                                                                 */
/*  NAME      = jolt_dataxfer.h                                    */
/*  NOTE      =                                                    */
/*  DATE      = 2015/06/03 by songbb                               */
/*******************************************************************/

#ifndef __JOLT_DATAXFER_H_
#define __JOLT_DATAXFER_H_

typedef enum __em_trans_type {
    TRANS_BEGIN = 1,
    TRANS_COMMIT,
    TRANS_ROLLBACK,
    TRANS_SUSPEND,
    TRANS_RESUME
} Trans_type;

int jolt_dataxfer_req(Conntrack *p_st_conn
                    , L7session_jolt *p_st_sess
                    , L7_jolt_packet *p_st_jolt_packet
                    , Frhash_header *p_st_hash_report);

int jolt_dataxfer_resp(Conntrack *p_st_conn
                    , L7session_jolt *p_st_sess
                    , L7_jolt_packet *p_st_jolt_packet
                    , Frhash_header *p_st_hash_report);

#endif
